WPDesk\ShopMagic\Frontend\Interceptor\CurrentCustomer A

Total Complexity 61
Dependencies 18
Dependents 3
Total lines 372
Lines of code 234
Logical lines of code 127
Comment lines 58
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
get_customer()
A
50 10 26
can_save_cookie()
S
59 7 15
is_needed()
S
59 7 14
get_raw_tracking_data()
S
57 6 17
hooks()
S
48 2 47
capture_from_comment()
S
62 4 13
encode_tracking_data()
S
58 3 15
remember_tracking_key()
S
61 3 13
capture_from_order()
S
65 3 9
__construct()
S
58 2 15
persist_current_customer()
S
63 3 10
is_customer_provided()
S
69 2 7
refresh_tracking_user_id()
S
74 2 5
get_decoded_tracking_data()
S
66 2 8
is_enabled_session_tracking()
S
71 1 6
set_meta()
S
79 1 3
set_user_id()
S
75 1 4
is_enabled_cookie()
S
79 1 3
set_user_email()
S
75 1 4